package com.example.mvp.mvppromote;

import android.app.Application;
import android.content.Context;
import android.widget.Toast;

import com.example.mvp.mvppromote.utils.SpUtils;

/**
 * Created by wty on 16/6/22.
 */
public class MvpApplication extends Application {
    private static MvpApplication instance = null;
    public SpUtils spUtils;

    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;
        spUtils = new SpUtils();
    }

    public static MvpApplication getInstance() {
        return instance;
    }
}
